package ink.tiptop.learn.pojo.vo;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * (OrderInfo)视图层类VO
 *
 * @author zjf
 * @since 2020-08-14 20:51:46
 */
@Data
@Accessors(chain = true)
@JsonAutoDetect(getterVisibility = JsonAutoDetect.Visibility.NONE)
public class OrderInfoVO implements Serializable {
    private static final long serialVersionUID = -30554727810441430L;
    /**
     * 订单唯一ID
     */
    @JsonProperty("ID")
    private Integer id;
    /**
     * 关联用户user_info.id
     */
    @JsonProperty("USER_ID")
    private Integer userId;
    /**
     * 收货地址
     */
    @JsonProperty("ADDRESS")
    private String address;
    /**
     * 原始总金额
     */
    @JsonProperty("ORI_AMT")
    private BigDecimal oriAmt;
    /**
     * 实扣总金额
     */
    @JsonProperty("DIS_AMT")
    private BigDecimal disAmt;
    /**
     * 商品信息
     */
    @JsonProperty("GOODS_INFO")
    private String goodsInfo;

}